import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// import http from './api/api' //默认导出的导入方式
const app = createApp(App) //创建app应用实例
// app.config.globalProperties.$http = http //将自己封装的axios——http挂载到vue应用实例上
app.use(store).use(router).use(ElementPlus).mount('#app')
